package com.microservice.model.system;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户表
 */
@Data
@TableName("user")
public class User  {
    private String id;
    private String name;
    private String username;
    private String password;
    private String phone;
    private Integer gender;
    private Boolean enabled;
    private LocalDateTime lastLoginTime;

    /**
     * 删除标记（0：正常；2：删除；）
     */
    @TableLogic(value = "0", delval = "2")
    private Integer deleteFlag;

}
